<div class="page-title">

    <div class="title-env">
        <h1 class="title">充值记录</h1>
    </div>

    <div class="breadcrumb-env">

        <ol class="breadcrumb bc-1">
            <li>
                <a href="{:url('/')}"><i class="fa-home"></i>Home</a>
            </li>

            <li class="active">

                <strong>PayOrder</strong>
            </li>
        </ol>

    </div>

</div>
<!-- Responsive Table -->
<div class="row">
    <div class="col-md-12">

        <div class="panel panel-default">
            <div class="panel-heading">

                
            </div>
            <div class="panel-body">
                <div class="table-responsive" data-pattern="priority-columns" data-focus-btn-icon="fa-asterisk"
                     data-sticky-table-header="true" data-add-display-all-btn="true" data-add-focus-btn="true">
                    <div style="text-align: center">
						<form  method="get" action="{:url('pay_order/index')}">
						    <span style="float: left">充值次数数:{$count}</span>
                            充值金额：{$total_money} 
                            <input class="form-control" type="date" value="{$start}" name="start" >&nbsp;-&nbsp;<input class="form-control" type="date" value="{$end}" name="end" >&nbsp;&nbsp;&nbsp;&nbsp;
                            <hr>
                           
    						<textarea class="form-control" placeholder="&nbsp;账户,手机号" type="text" name="key" style="height: 38px">{$key}</textarea>
                            <button type="submit" class="btn btn-turquoise" style="height: 38px;margin-top: 7px;">搜索</button>
                                <input type="hidden" name="parentid" value="{$parentid}">
                        </form>
                    </div>
  <div class="table-responsive" data-pattern="priority-columns" data-focus-btn-icon="fa-asterisk"
                     data-sticky-table-header="true" data-add-display-all-btn="true" data-add-focus-btn="true">
                    <table cellspacing="0" class="table table-small-font table-bordered table-striped">
                        <thead>
                        <tr>
                            <th>账户</th>
                            <th>手机号</th>
                            <th>充值时间</th>
                            <th>充值金额</th>
                            <th>是否支付成功</th>
                        </tr>
                        </thead>
                        <tbody>
                        {volist name="list" id="vo"}
                        <tr>
                            <td>{$vo.username}</td>
                            <td>{$vo.phone}</td>
                            <td>{:date('Y-m-d H:i:s', $vo['create_time'])}</td>
                            <td>{$vo['money']}</td>
                            <td>{$vo['status']==2?'支付成功':'未支付'}</td>
                        </tr>
                        {/volist}
                        </tbody>
                    </table>
</div>
                    {$list->render()}

                </div>

            </div>


        </div>

    </div>


</div>